<%@page import="com.zhangyj.action.BoastContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.zhangyj.com/input" prefix="boast"%>
<%
	String contextPath = application.getContextPath();
	String baseUrl = BoastContext.getConfigValue("baseUrl");// + "/js/dojo";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>企业维护</title>
<style type="text/css">
@import "<%=baseUrl%>dojox/grid/enhanced/resources/claro/EnhancedGrid.css";
@import "<%=baseUrl%>dojox/grid/enhanced/resources/EnhancedGrid_rtl.css";
</style>
<jsp:include page="/WEB-INF/jsps/includedojo.jsp" />
<boast:js file="/workspace/ent/js/index.js" />
</head>
<jsp:include page="/WEB-INF/jsps/bodyhead.jsp" />
<div id="toolbar" dojotype="dijit.Toolbar" style="height: 25px">
	<span style="font-weight: bold; color: #330066; padding-left: 10px; padding-right: 10px">企业维护</span> <span dojotype="dijit.ToolbarSeparator">x</span>
	<div dojotype="dijit.form.Button" id="btn_add" jsId='btn_add' iconClass='dijitIcon dijitIconNewTask' showlabel='true'>增加</div>
	<div dojotype="dijit.form.Button" id="btn_edit" jsId='btn_edit' iconClass='dijitIcon dijitIconEdit' showlabel='true'>编辑</div>

</div>
<br />
<div id="ent_grid" style="height: 500px;"></div>

<div dojoType="dijit.Dialog" id="u_dialog" closeNode="hider" title="企业信息">
	<form id="myForm" data-dojo-type="dijit.form.Form" data-dojo-props='action:"<%=contextPath%>/ent/save.do", method:"post"' onsubmit="return false;">
		<input id="entId" data-dojo-type="dijit.form.TextBox" data-dojo-props='name:"entId", type:"hidden", value:""' />
		<input id="oper" data-dojo-type="dijit.form.TextBox" data-dojo-props='name:"oper", type:"hidden", value:""' />
		<table>
			<tr>
				<td><label for="entCode">企业编号：</label></td>
				<td><input id="entCode" data-dojo-type="dijit.form.ValidationTextBox" style="width: 180px" data-dojo-props='id: "entCode", name:"entCode", required:true, value:""' /></td>
				<td><label for="entName">企业名称：</label></td>
				<td><input id="entName" data-dojo-type="dijit.form.ValidationTextBox" style="width: 180px" data-dojo-props='id: "entName", name:"entName", required:true, value:""' /></td>
			</tr>
			<tr>
				<td><label for="entPhone">联系电话：</label></td>
				<td><input id="entPhone" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entPhone", name:"entPhone",value:""' /></td>
				<td><label for="entEmail">企业邮箱：</label></td>
				<td><input id="entEmail" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entEmail", name:"entEmail",value:""' /></td>
			</tr>
			<tr>
				<td><label for="entGsswdjh">国税登记号：</label></td>
				<td><input id="entGsswdjh" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entGsswdjh", name:"entGsswdjh",  value:""' /></td>
				<td><label for="entDsswdjh">地税登记号：</label></td>
				<td><input id="entDsswdjh" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entDsswdjh", name:"entDsswdjh",  value:""' /></td>
			</tr>
			<tr>
				<td><label for="entBank">开户银行：</label></td>
				<td><input id="entBank" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entBank", name:"entGsswdjh",  value:""' /></td>
				<td><label for="entBankZh">银行账号：</label></td>
				<td><input id="entBankZh" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entBankZh", name:"entBankZh",  value:""' /></td>
			</tr>
			<tr>
				<td><label for="entLegal">entLegal：</label></td>
				<td><input id="entLegal" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entLegal", name:"entLegal",  value:""' /></td>
				<td><label for="entYyzzh">entYyzzh：</label></td>
				<td><input id="entYyzzh" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entYyzzh", name:"entYyzzh",  value:""' /></td>
			</tr>
			<tr>
				<td><label for="entAddr">企业地址：</label></td>
				<td><input id="entAddr" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entAddr", name:"entAddr",  value:""' /></td>
				<td><label for="entWebsite">企业网址：</label></td>
				<td><input id="entWebsite" data-dojo-type="dijit.form.TextBox" style="width: 180px" data-dojo-props='id: "entWebsite", name:"entWebsite",  value:""' /></td>
			</tr>
		</table>

	<div>
		<button id="btn_save" data-dojo-type="dijit.form.Button" data-dojo-props='id: "btn_save", name:"btn_save",type:"button"'>保存</button>
		<button id="btn_cancle" data-dojo-type="dijit.form.Button" data-dojo-props='id: "btn_cancle", name:"btn_cancle",type:"button"'>取消</button>
	</div>
	</form>
</div>
<jsp:include page="/WEB-INF/jsps/bodyfoot.jsp" />
</html>
